{
    //generator基本定义
    let tell = function* () {
        yield 'a';
        yield 'b';
        yield 'c'
    }

    let k = tell();

    console.log(k.next());
    console.log(k.next());
    console.log(k.next());
    console.log(k.next());
}